package com.hackordie.controllers;

import com.hackordie.commons.hardware.components.AComponent;

public class AjaxComponents {
    private int totalPages;
    private int beginIndex;
    private int endIndex;
    private int currentIndex;

    private AComponent[] components;

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public void setBeginIndex(int beginIndex) {
        this.beginIndex = beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public void setEndIndex(int endIndex) {
        this.endIndex = endIndex;
    }

    public int getCurrentIndex() {
        return currentIndex;
    }

    public void setCurrentIndex(int currentIndex) {
        this.currentIndex = currentIndex;
    }

    public AComponent[] getComponents() {
        return components;
    }

    public void setComponents(AComponent[] components) {
        this.components = components;
    }
}
